package  
{
	import flash.display.*;
	
	/**
	 * 路径绘制示例
	 * @author StefanieKaka
	 */
	public final class SingleLine extends Sprite 
	{
		/// 构造函数
		public function SingleLine() 
		{
			var commands : Vector.<int> = new Vector.<int>();
			commands[0] = GraphicsPathCommand.MOVE_TO;
			commands[1] = GraphicsPathCommand.LINE_TO;
			
			var data : Vector.<Number> = new Vector.<Number>();
			data[0] = 100;
			data[1] = 100;
			data[2] = 200;
			data[3] = 300;
			
			this.graphics.lineStyle(0, 0);
			this.graphics.drawPath(commands, data);
		}
		
	}

}